﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" xmlns:Microsoft_Windows_Themes1="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna">
	<!-- Resource dictionary entries should be defined here. -->
    <ResourceDictionary.MergedDictionaries>
  		<ResourceDictionary Source="Brushes.xaml" />
    </ResourceDictionary.MergedDictionaries>
	
	<Style x:Key="BlueGradientButtonStyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid x:Name="grid">
						<Rectangle RadiusX="7.481" RadiusY="7.481" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.498,0.057" StartPoint="0.498,1.057">
									<GradientStop Color="#FF164AB2" Offset="0.524"/>
									<GradientStop Color="#FF5F8AE8" Offset="0.543"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.498,0.057" StartPoint="0.498,1.057">
										<GradientStop Color="#FD547BC7" Offset="0.524"/>
										<GradientStop Color="#F499B4EE" Offset="0.543"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsPressed" Value="True"/>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="Help_LogoutButtonStyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid x:Name="grid">
						<Rectangle Fill="{x:Null}" Stroke="{x:Null}" RadiusX="0" RadiusY="0" x:Name="rectangle"/>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" x:Name="contentPresenter" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Height="15" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True" SourceName="grid">
							
							<Setter Property="Height" TargetName="contentPresenter" Value="15"/>
							<Setter Property="Background" TargetName="grid">
								<Setter.Value>
									<LinearGradientBrush StartPoint="0.800658,0.0319563" EndPoint="0.800658,0.966728">
					<GradientStop Color="#99FFFFFF" Offset="0"/>
					<GradientStop Color="#33FFFFFF" Offset="0.481"/>
										<GradientStop Color="#99FFFFFF" Offset="1"/>
										<GradientStop Color="#33FFFFFF" Offset="0.539"/>
				</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Background" TargetName="grid">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.488,-0.057" StartPoint="0.488,0.887">
										<GradientStop Color="#4CFFFFFF" Offset="0"/>
										<GradientStop Color="#4CFFFFFF" Offset="1"/>
										<GradientStop Color="#8CFFFFFF" Offset="0.385"/>
										<GradientStop Color="#8CFFFFFF" Offset="0.668"/>
										<GradientStop Color="#8CFFFFFF" Offset="0.534"/>
										<GradientStop Color="#8CFFFFFF" Offset="0.587"/>
										<GradientStop Color="#8CFFFFFF" Offset="0.476"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="TransparentButtontyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid x:Name="grid" Background="{DynamicResource MenuControlBrush}">
						<Rectangle x:Name="rectangle"/>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Width="95.521" Height="20.098" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.498,-0.054" StartPoint="0.496,0.888">
										<GradientStop Color="#19FFFFFF" Offset="1"/>
										<GradientStop Color="#19FFFFFF" Offset="0"/>
										<GradientStop Color="#0CFFFFFF" Offset="0.157"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Stroke" TargetName="rectangle" Value="#7FFFFFFF"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Stroke" TargetName="rectangle" Value="#7FFFFFFF"/>
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.506,0.088" StartPoint="0.504,0.945">
										<GradientStop Color="#4CFFFFFF" Offset="0"/>
										<GradientStop Color="#4CFFFFFF" Offset="1"/>
										<GradientStop Color="#33FFFFFF" Offset="0.163"/>
										<GradientStop Color="#3FFFFFFF" Offset="0.839"/>
										<GradientStop Color="#26FFFFFF" Offset="0.564"/>
										<GradientStop Color="#26FFFFFF" Offset="0.39"/>
										<GradientStop Color="#26FFFFFF" Offset="0.63"/>
										<GradientStop Color="#26FFFFFF" Offset="0.474"/>
										<GradientStop Color="#26FFFFFF" Offset="0.522"/>
										<GradientStop Color="#26FFFFFF" Offset="0.522"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="TransparentButtonStyle1" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="90" Background="{DynamicResource MenuControlBrush}">
						<Rectangle x:Name="rectangle"/>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,8,21,6.902" Width="47" Height="20.098" RecognizesAccessKey="True" HorizontalAlignment="Right"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Stroke" TargetName="rectangle" Value="#7FFFFFFF"/>
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.477,0.086" StartPoint="0.483,0.83">
										<GradientStop Color="#19FFFFFF" Offset="0"/>
										<GradientStop Color="#19FFFFFF" Offset="1"/>
										<GradientStop Color="#0CFFFFFF" Offset="0.229"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Stroke" TargetName="rectangle" Value="#7FFFFFFF"/>
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.505,0.144" StartPoint="0.51,1.087">
										<GradientStop Color="#4CFFFFFF" Offset="0"/>
										<GradientStop Color="#4CFFFFFF" Offset="1"/>
										<GradientStop Color="#3FFFFFFF" Offset="0.229"/>
										<GradientStop Color="#4CFFFFFF" Offset="0.845"/>
										<GradientStop Color="#26FFFFFF" Offset="0.426"/>
										<GradientStop Color="#26FFFFFF" Offset="0.6"/>
										<GradientStop Color="#26FFFFFF" Offset="0.51"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="HyperlinkButtonStyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<TextBlock x:Name="textBlock" Background="{x:Null}" FontSize="13" FontWeight="Bold" Foreground="{DynamicResource LightBlueFontBrush}" Text="Dashboard &gt;&gt;" TextWrapping="Wrap" Margin="0,0,0,0"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="TextDecorations" TargetName="textBlock">
								<Setter.Value>
									<TextDecorationCollection>
										<TextDecoration Location="Underline"/>
									</TextDecorationCollection>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True"/>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
</ResourceDictionary>